package org.wlc.demov1;

/**
 * @author 王立朝
 * @date 2022/5/22
 * @description: 渠道类型
 */
public enum ChannelType {
    Wx(1, "微信支付"), ZFB(2, "支付宝支付");

    ChannelType(Integer channelCode, String channelName) {
        this.channelCode = channelCode;
        this.channelName = channelName;
    }

    /**
     * 交易渠道 编码
     */
    private Integer channelCode;
    /**
     * 支付类型编码
     */
    private String channelName;

    public Integer getChannelCode() {
        return channelCode;
    }

    public void setChannelCode(Integer channelCode) {
        this.channelCode = channelCode;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }
}
